package cn.tedu.mvc.core;

import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class HandlerAdapter {
    public ModelAndView handle(HttpServletRequest request, HttpServletResponse response, Handler handler) throws Exception {
        return handler.handlerReqeust(request,response);
    }
}
